package com.sky.service;

//import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult getDishPage(DishPageQueryDTO dto);

    DishVO getDishById(Long id);

    void saveDishWithFlavor(DishDTO dto);

    void deleteByIds(List<Long> ids);

    void updateDishWithFlavor(DishDTO dto);

    void updateDishStatus(Integer status, Long id);

    List<Dish> getDishByCategoryId(Integer categoryId);

    List<DishVO> getDishVOByCategoryId(Integer categoryId);
}
